import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouteReuseStrategy } from '@angular/router';
import {FormsModule} from '@angular/forms';
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { CommonServices } from './services/common.service';
import { IonicStorageModule } from '@ionic/storage';

@NgModule({
	declarations: [AppComponent],
	entryComponents: [],
	imports: [
		BrowserModule, 
		FormsModule,
		IonicModule.forRoot(), 
		AppRoutingModule,
		IonicStorageModule.forRoot()
	],
	providers: [
		{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
		CommonServices
	],
	bootstrap: [AppComponent]
})
export class AppModule {}
